//
//  LFViewModelProtocol.h
//  MVVM+RACTest
//
//  Created by LF on 2017/6/8.
//  Copyright © 2017年 LF. All rights reserved.
//

#ifndef LFViewModelProtocol_h
#define LFViewModelProtocol_h

#import "LFNetworkTool.h"
#import <Foundation/Foundation.h>
typedef enum : NSUInteger {
    LFRefreshDataStatus_HasData,
    LFRefreshHiddenFotter,
    LFRefreshDataStatus_NoMoreData,
    LFRefreshError,
    LFrefreshUI,
} LFRefreshDataStatus;

@protocol LFViewModelProtocol <NSObject>

@optional

- (instancetype) initWithModel:(id)model;
@property (strong, nonatomic) LFNetworkTool *netTool;


/**
    初始化
    数据绑定,网络回调的处理
 */
- (void) lf_initialize;

@end

#endif /* LFViewModelProtocol_h */
